<!-- <script src="./scripts/plugins/mediaelement-and-player/mediaelement-and-player.js"></script>
<link rel="stylesheet" href="./scripts/plugins/mediaelement-and-player/mediaelementplayer.min.css" /> -->
<div class="content">
	<div class="ibox">
        <div class="ibox-title">
            <h5>视频直播</h5>
        </div>
        <div class="ibox-content" style="min-height: 200px;">

            <div class="form-group row">
                <div class="col-lg-4 margin-bottom-20 col-md-6" ng-repeat="item in vm.videoList">
                    <p>{{item.name}}</p>
                    <video width="300" height="200" id="{{item.cameraid}}">
                        <source type="application/x-mpegURL" src="http://vshare.ys7.com:80/hcnp/473224238_1_1_1_0_183.136.184.7_6500.m3u8">
                    </video>
                </div>
               
            </div>
        </div>

        <div class="ibox-title" ng-if="false">
            <h5>选手视频</h5>
        </div>
        <div class="ibox-content" style="min-height: 700px;" ng-if="false">

            <div class="form-group">
                <div class="col-lg-2 margin-bottom-20">
                    <h3>请选择科目 <b class="text-danger">*</b></h3>
                </div>
                <div class="col-lg-4 margin-bottom-20">
                    <select name="course" class="form-control" ng-model="vm.course" ng-options="item.course_name for item in vm.courseList" required>
                    </select>
                </div>
                <div class="col-lg-6 margin-bottom-20">
					<div class="col-lg-6 col-lg-offset-6 input-group margin-bottom-20">
                        <input type="text" class="form-control input-sm" name="search" placeholder="请输入选手号" ng-model="vm.bib">
                        <div class="input-group-btn">
                            <button type="submit" class="btn btn-sm btn-primary" ng-click="vm.searchRunnerVideoTest(vm.course.course_id, vm.bib)">
                                搜索
                            </button>
                        </div>
                    </div>

                </div>
            </div>
            <div>
                <div class="form-group row">
                    <div class="col-lg-4 margin-bottom-20 col-md-6" ng-repeat="item in vm.runnerVideoList">
                        <p>{{item.cp_name}}</p>
                        <video width="300" height="200" id="{{'runner' + item.cp_index}}">
                            <source type="application/x-mpegURL" src="http://vshare.ys7.com:80/hcnp/473224238_1_1_1_0_183.136.184.7_6500.m3u8">
                        </video>
                    </div>
                   
                </div>

                        <video width="300" height="200" id="test34">
                            <source type="application/x-mpegURL" src="">
                        </video>


                        <video width="300" height="200" id="test35">
                            <source type="application/x-mpegURL" src="">
                        </video>


            </div>
        </div>
    </div>
</div>

<script>
		// player.pause();
        //player.setSrc('http://vshare.ys7.com:80/hcnp/557772643_1_1_1_0_183.136.184.7_6500.m3u8');
		// player.play(); 
</script>